#pragma once

#include <memory>
#include <opencv2/core/mat.hpp>

class GLImageBeautyComplexionFilter;
class COpenglWrapper
{
public:
	COpenglWrapper();
	~COpenglWrapper();
public:
	bool Initialize(int w, int h);
	void SetWhitenLevel(const float factor );
	void SetSmoothLevel(const float factor);
	cv::Mat ProcessFrame(const cv::Mat& input_frame);
private:
	float whiten_factor_;
	float smooth_factor_;
	float ruddy_factor_;
	std::shared_ptr<GLImageBeautyComplexionFilter> image_beauty_filter_;



};

